package cn.wh.beans.factory;

import cn.wh.beans.BeansException;

/**
 * @author: wh
 * @create: 2022-09-25 14:19
 * @description
 **/
public interface BeanFactory {

    Object getBean(String name) throws BeansException;

    Object getBean(String name, Object... args) throws BeansException;

    <T> T getBean(String name, Class<T> requiredType) throws BeansException;


}
